/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/8 10:39
 * @description:
 */
public class RectangleDemo {

  public static void main(String[] args) {
    //创建对象
Rectangle r1=new Rectangle(4,5);
//调用方法输出周长
r1.circumference();
//求面积
    int a=r1.area();
    System.out.println("面积是"+a);
  }
}
